libxc: xc_domain_set_memory_map, xc_get_machine_memory_map (x86, amd64 only)
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 26 May 2011 13:49:50 +0000 (14:49 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 26 May 2011 13:49:50 +0000 (14:49 +0100)
commiteadf449efd7518d8f5789c90aaa93c487b88fb98
tree4001eb9ce3b0483b6bf7e06d58c7597920fa2651
parent205e1b66ccc1269bb80822b8c82243532af051fd
libxc: xc_domain_set_memory_map, xc_get_machine_memory_map (x86, amd64 only)

Add these two functions.

The later retrieves the E820 as seen by the hypervisor (completely
unchanged) and the second call sets the E820 for the specified guest.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/xc_domain.c
tools/libxc/xc_e820.h
tools/libxc/xenctrl.h